]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
background: fix indentation
authorMichael Biebl <biebl@debian.org>
Mon, 7 Sep 2015 04:49:55 +0000 (06:49 +0200)
committerMichael Biebl <biebl@debian.org>
Mon, 7 Sep 2015 04:49:55 +0000 (06:49 +0200)
js/ui/background.js

index 5acff9fda0ca088d88e795d58bc110a3a8a9bc72..a4634526c954eaed37a00d2b62caa37fcaa3dc49 100644 (file)
@@ -403,17 +403,17 @@ const Background = new Lang.Class({
 
     _loadAnimation: function(file) {
         this._cache.getAnimation({ file: file,
-                                         onLoaded: Lang.bind(this, function(animation) {
-                                             this._animation = animation;
+                                   onLoaded: Lang.bind(this, function(animation) {
+                                       this._animation = animation;
 
-                                             if (!this._animation || this._cancellable.is_cancelled()) {
-                                                 this._setLoaded();
-                                                 return;
-                                             }
+                                       if (!this._animation || this._cancellable.is_cancelled()) {
+                                           this._setLoaded();
+                                           return;
+                                       }
 
-                                             this._updateAnimation();
-                                             this._watchFile(file);
-                                         })
+                                       this._updateAnimation();
+                                       this._watchFile(file);
+                                   })
                                  });
     },